/*
    private Integer id;
     private String name;
     private String purpose;
     private String nameUk;
     private String suffix;
     private String spec;
     private Integer filesize;
     private Integer download;
     private String path;

 */
Ext.define('DCApp.model.CeAttachment', {
    extend: 'DCApp.model.Base',
    fields: [
        {name: 'id', type: 'int'},
        {name: 'name'},
        {name: 'purpose'},
        {name: 'nameUk'},
        {name: 'suffix'},
        {name: 'spec'},
        {name: 'filesize', type: 'int'},
        {name: 'download', type: 'int'},
        {name: 'path'},
        {name:'lastmod', type: 'date',  dateFormat: 'n/j h:ia'}
    ],
    rmap:{
    		'suffix':['jpg','jpg','doc','xls','pdf','zip']
    	}
    
});
